<template>
  <section>
      <div class="bii-box-section">
            <div class="bd-head">
                <div>
                    <el-button size="mini" type="primary" @click="batchComplete">批量完成订单</el-button>
                    <el-button size="mini" type="primary" @click="batchMakeProfitDay">批量生成收益日报表</el-button>
                    <el-button size="mini" type="primary" @click="batchMakeProfitMonth">批量生成收益月报表</el-button>
                </div>
                
            </div>
            
            
        </div>
  </section>
</template>

<script>
    import {
        order_batchComplete,
        order_batchMakeProfitDay,
        order_batchMakeProfitMonth
    } from '../../api/order';
    export default {
        components: {
        },
        data() {
            return {
                
            }
        },
        mounted() {
        
        },
        created() {
        },
        methods: {
            batchComplete() {
                order_batchComplete().then((res)=>{
                    this.$message.success("操作已执行");
                }).catch((err)=>{

                })
            },
            batchMakeProfitDay() {
                order_batchMakeProfitDay().then((res)=>{
                    this.$message.success("操作已执行");
                }).catch((err)=>{

                })
            },
            batchMakeProfitMonth() {
                order_batchMakeProfitMonth().then((res)=>{
                    this.$message.success("操作已执行");
                }).catch((err)=>{

                })
            },
        }
    };
</script>
<style lang="scss" scoped>
    .bii-box-section {
        // padding: 80px;
        height: 100%;
        background: #fff;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        overflow: auto;

        .bd-head {
            position: relative;

            .head-price {
                font-size: 14px;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                line-height: 16px;
                text-align: center;
                margin-bottom: 30px;

                .num {
                    font-size: 34px;
                    line-height: 36px;
                }

                .line {
                    height: 66px;
                    width: 1px;
                    background: #d8d8d8;
                    margin: 0 75px;
                }
            }
        }

        .bind-card {
            position: absolute;
            top: 0;
            right: 80px;
            border-radius: 4px;
            background: rgba(36,97,241,.05);
            padding: 34px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            font-size: 16px;

            .bank-msg {
                margin-right: 34px;

                .num {
                    font-size: 14px;
                    color: #666;
                    line-height: 18px;
                }
            }
        }
    }
</style>
